<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="nav-biaoti"><a href="#" target="_blank" class="zixun">最新资讯</a></div>
<div class="news-box">
	<c:forEach items="${list}" var="list" begin="0" end="3">
	        <dl>
	          <dt>
		<c:choose>
			          <c:when test="${list.penster_id == '3'}">
			          	<img src="${basePath }/images/face_cry.png" >
			          </c:when>
			          <c:when test="${list.penster_id == '2'}">
			          	<img src="${basePath }/images/face_normal.png" >
			          </c:when>
			          <c:otherwise>
			          	<img src="${basePath }/images/face_smile.png" >
			          </c:otherwise>
		 </c:choose>
	          </dt>
	          <dd><b><a href="${basePath }/article/${list.content_id}" target="_blank">[${list.channel_name }]</a></b><span class="color_gray"> &#8226; ${list.sort_date}</span><span class="color_yellow">${list.author}</span></dd>
	          <dd><a href="${basePath }/article/${list.content_id}" target="_blank">${list.title}</a></dd>
	        </dl>
	</c:forEach>
</div>	
      <div class="news-box news-box-right">
	      <c:forEach items="${list}" var="list" begin="4" end="7">
	        <dl>
	          <dt>
	           <c:choose>
			          <c:when test="${list.penster_id == '3'}">
			          	<img src="${basePath }/images/face_cry.png" >
			          </c:when>
			          <c:when test="${list.penster_id == '2'}">
			          	<img src="${basePath }/images/face_normal.png" >
			          </c:when>
			          <c:otherwise>
			          	<img src="${basePath }/images/face_smile.png" >
			          </c:otherwise>
		 	 </c:choose>
	          </dt>
	          <dd><b><a href="${basePath }/article/${list.content_id}" target="_blank">[${list.channel_name }]</a></b><span class="color_gray"> &#8226; ${list.sort_date}</span><span class="color_yellow">${list.author}</span></dd>
	          <dd><a href="${basePath }/article/${list.content_id}" target="_blank">${list.title}</a></dd>
	        </dl>
	    </c:forEach>     
	</div>        
       

 